<template>
  <div>
    <h2>Hello</h2>

    <slot />
  </div>
</template>

<script>
export default {
  created() {
    console.log("Hello created");
  },

  beforeUnmount() {
    console.log("Hello beforeUnmount");
  },
};
</script>

<style scoped>
p {
  color: green;
}
</style>
